package com.gcxy.service;

import com.gcxy.conf.result.R;
import com.gcxy.dto.AddUserDTO;
import com.gcxy.dto.EditUserDTO;
import com.gcxy.dto.LoginUserDTO;
import com.gcxy.dto.UserPageDTO;
import com.gcxy.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户表; 服务类
 * </p>
 *
 * @author author
 * @since 2024-12-25
 */
public interface IUserService extends IService<User> {

    R login(LoginUserDTO loginUserDTO);

    R logout();

    R getCurrentUser();

    R addUser(AddUserDTO addUserDTO);

    R deleteUser(String userId);

    R resetPassword(String userId);

    R editUser(EditUserDTO editUserDTO);

    R getUserList(UserPageDTO userPageDTO);
}
